/*列表页面的css*/
.list-container {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
}

.category-name {
    height: 50px;
    width: 100px;
    font-size: 25px;
    line-height: 50px;
    text-align: center;
}

.space-line {
    border-bottom: 2px red solid;
}

.list-item {
    margin: 5px 2px;
    width: 250px;
    height: 400px;
    background-color: #fff;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
}

.list-item img {
    width: 100%;
}

.list-item .price {
    margin-top: 30px;
    font-size: 18px;
    color: #c81623;
}

.list-item .attr {
    height: 40px;
    line-height: 40px;
}

.list-item .add-to-cart {
    width: 200px;
    height: 30px;
    border: 1px red solid;
    background-color: red;
    color: #fff;
    line-height: 30px;
    font-size: 14px;
    text-align: center;
}

.list-item:hover {
    box-shadow: 2px 2px 5px #888;
}

/*分页样式*/
.page-num-container {
    display: flex;
    justify-content: center;
}

.page_num_inf {
    color: #878787;
    font-size: 19px;
    margin-bottom: 20px;
}

.page_num_inf span {
    color: #ff4848;
}


.pageNum {
    width: 1000px;
    overflow: hidden;
}


.pageNum ul li {
    width: 40px;
    height: 40px;
    float: left;
    border: 1px solid #eee;
    margin-right: 10px;
    text-align: center;
    line-height: 40px;
}

.pageNum ul li.curPage {
    background-color: #ffc900;
}

.pageNum ul li a {
    width: 100%;
    height: 100%;
    color: #000;
    font-size: 14px;
}

.pageNum ul .threeword {
    width: 75px;
}